/*
 * Saphre - Suffix Arrays for Phrase Extraction
 * Copyright (C) 2013 
 * Dale Gerdemann - Tübingen, Germany 
 * Niko Schenk - Frankfurt am Main, Germany
 * All rights reserved.
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 *
 */
package saphre.commands;

/**
 *
 * @author Niko Schenk
 */
public class CmdRepeatsParameters {
    
    private int minLength;
    private int maxLength;
    private int minTermFrequency;
    private double minMutualInformationYamamotoChurch;
    private double minMutualInformationGeneral;
    private double minResidualInverseDocumentFrequency;
    private String startsWith;
    private String containsTerm;
    private boolean writeToFile;
    private boolean writeToConsole;
    
    
    public CmdRepeatsParameters() {
        minLength = 1;
        maxLength = 100;
        minTermFrequency = 2;
        minMutualInformationYamamotoChurch = -1000.0;
        minMutualInformationGeneral = -1000.0;
        minResidualInverseDocumentFrequency = -1000.0;
        startsWith = "";
        containsTerm = "";
        writeToFile = true;
        writeToConsole = true;
    }

    public int getMinLength() {
        return minLength;
    }

    public void setMinLength(int minLength) {
        this.minLength = minLength;
    }

    public int getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(int maxLength) {
        this.maxLength = maxLength;
    }

    public int getMinTermFrequency() {
        return minTermFrequency;
    }

    public void setMinTermFrequency(int minTermFrequency) {
        this.minTermFrequency = minTermFrequency;
    }

    public double getMinMutualInformationYamamotoChurch() {
        return minMutualInformationYamamotoChurch;
    }

    public void setMinMutualInformationYamamotoChurch(double minMutualInformationYamamotoChurch) {
        this.minMutualInformationYamamotoChurch = minMutualInformationYamamotoChurch;
    }

    public double getMinMutualInformationGeneral() {
        return minMutualInformationGeneral;
    }

    public void setMinMutualInformationGeneral(double minMutualInformationGeneral) {
        this.minMutualInformationGeneral = minMutualInformationGeneral;
    }

    public double getMinResidualInverseDocumentFrequency() {
        return minResidualInverseDocumentFrequency;
    }

    public void setMinResidualInverseDocumentFrequency(double minResidualInverseDocumentFrequency) {
        this.minResidualInverseDocumentFrequency = minResidualInverseDocumentFrequency;
    }

    public String getStartsWith() {
        return startsWith;
    }

    public void setStartsWith(String startsWith) {
        this.startsWith = startsWith;
    }

    public String getContainsTerm() {
        return containsTerm;
    }

    public void setContainsTerm(String containsTerm) {
        this.containsTerm = containsTerm;
    }

    public boolean isWriteToFile() {
        return writeToFile;
    }

    public void setWriteToFile(boolean writeToFile) {
        this.writeToFile = writeToFile;
    }

    public boolean isWriteToConsole() {
        return writeToConsole;
    }

    public void setWriteToConsole(boolean writeToConsole) {
        this.writeToConsole = writeToConsole;
    }
    
    
}
